< previous page page_732 next page >

Page 732
Table B.1 SQL Server Column Naming Standards
SQL Data TypeDescriptionPrefixVB Data Type
Binary(n)bin*
BitboolBoolean
Char(n)Fixed-length character data from 1 to 255 bytessString
DateTimedtVariant or String
FloatdblDouble
Imageimg*
Int1Long
MoneymnyCurrency
RealsngSingle
SmallDateTimesdtVariant or String
SmallIntIInteger
SmallMoneycCurrency
TexttxtString
TimeStamptsVariant or String
TinyIntbytInteger or Byte
VarBinary(n)vb*
VarChar(n)Variable-length character data from 1 to 255 bytesszString
*These large data types cannot be handled directly by a Visual Basic data type. Instead, theyre handled through a custom control such as the image control for handling the SQL image data type.

SQL Server and Access
Table B.2 lists the prefixes for each type of data that can be stored in a table in both SQL Server and Access databases.

 
< previous page page_732 next page >

If you like this book, buy it!